package com.example.demo_text;

import java.sql.Timestamp;

public class Video {
    private int videoId;
    private String courseId;
    private String chapterTitle;
    private String videoUrl;
    private Timestamp uploadTime;

    // 构造函数、Getter 和 Setter
    public Video() {}

    public Video(int videoId, String courseId, String chapterTitle, String videoUrl, Timestamp uploadTime) {
        this.videoId = videoId;
        this.courseId = courseId;
        this.chapterTitle = chapterTitle;
        this.videoUrl = videoUrl;
        this.uploadTime = uploadTime;
    }

    public int getVideoId() {
        return videoId;
    }

    public void setVideoId(int videoId) {
        this.videoId = videoId;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getChapterTitle() {
        return chapterTitle;
    }

    public void setChapterTitle(String chapterTitle) {
        this.chapterTitle = chapterTitle;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Timestamp getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Timestamp uploadTime) {
        this.uploadTime = uploadTime;
    }
}
